package com.lp.common;

public enum ExceptionMessage  {

    SYS_EXCEPTION("系统异常", "1002"),
    PARAM_ERROR("参数错误", "1001"),
    NO_LOGLN_ERROR_CODE("未登录错误", "1000");
    private String errorStr;
    private String errorCode;
    private ExceptionMessage(String errorStr, String errorCode) {
        this.errorStr = errorStr;
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public String getErrorStr() {
        return errorStr;
    }
}
